<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Tetris</title>
    <link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<div>请用方向键和空格键进行操作 : 上->旋转, 左->左移, 右->右移, 下->下移, 空格->坠落</div>
<div id="waiting"></div>
<div class="square" id="local">
    <div class="title">我的游戏区域</div>
    <div class="game" id="local-game"></div>
    <div class="next" id="local-next"></div>
    <div class="info">
        <div>已用时：<span id="local-time">0</span>s</div>
        <div>已得分：<span id="local-score">0</span>分</div>
        <div id="local-game-over"></div>
    </div>
</div>
<div class="square" id="remote">
    <div class="title">对方游戏区域</div>
    <div class="game" id="remote-game"></div>
    <div class="next" id="remote-next"></div>
    <div class="info">
        <div>已用时：<span id="remote-time">0</span>s</div>
        <div>已得分：<span id="remote-score">0</span>分</div>
        <div id="remote-game-over"></div>
    </div>
</div>
<script src="js/socket.io.js" type="text/javascript"></script>
<script src="js/game.js" type="text/javascript"></script>
<script src="js/local.js" type="text/javascript"></script>
<script src="js/remote.js" type="text/javascript"></script>
<script src="js/square.js" type="text/javascript"></script>
<script src="js/squareFactory.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
</body>
</html>
